using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Threading;
namespace Server
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            
           // var gui = new Thread(runGUI_Thread(););


        }

        public static void runGUI_Thread()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new SGSserverForm());
        }
        public static void runIO_Thread()
        {
            var serialContr = new SerialController();
            serialContr.openPort();
        }
    }
}